﻿// Copyright (c)  MOKEYISH. All rights reserved.
// Licensed under the MIT License, See License.txt in the project root for license information.

namespace NSQL.Expressions
{
    public class NullExpression : BaseExpression, INullExpression
    {
        public IExpression Expression { get; set; }

        public NullExpression(IExpression expression) => Expression = expression;

        public override T Accept<T>(IExpressionVisitor<T> visitor) => visitor.Visit(this);
    }
}